﻿namespace Gateway.Common.Enums
{
    /// <summary>
    /// 布尔枚举类；Y：是，N：否
    /// </summary>
    public class BooleanStatusEnum : Enumeration<BooleanStatusEnum, string>
    {
        public static readonly BooleanStatusEnum? Yes = new BooleanStatusEnum("Y", "是");
        public static readonly BooleanStatusEnum? No = new BooleanStatusEnum("N", "否");

        public BooleanStatusEnum(string value, string displayName) : base(value, displayName)
        {
        }
    }
}